package com.qy.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 优惠政策数据DTO，用于JSON文件导入
 */
@Data
public class PromotionDataDTO {
    @JsonProperty("promotion_id")
    private String promotionId;
    private String name;
    private String description;

    @JsonProperty("target_packages")
    private List<String> targetPackages;

    @JsonProperty("discount_type")
    private String discountType;

    @JsonProperty("discount_value")
    private BigDecimal discountValue;
    private List<String> eligibility;

    @JsonProperty("valid_period")
    private String validPeriod;
}